package com.boluo.businessManagement.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.boluo.common.annotation.Excel;
import com.boluo.common.core.domain.BaseEntity;

/**
 * 出入库单据明细对象 bus_ment_store_listInfo
 * 
 * @author boluo
 * @date 2023-05-04
 */
public class BusMentStoreListinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 物品id */
    @Excel(name = "物品id")
    private Long goodsId;

    /** 数量 */
    @Excel(name = "数量")
    private Long amounts;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 单据id */
    @Excel(name = "单据id")
    private Long billId;

    /** 0 正常, -1 作废 */
    @Excel(name = "0 正常, -1 作废")
    private Integer state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setAmounts(Long amounts) 
    {
        this.amounts = amounts;
    }

    public Long getAmounts() 
    {
        return amounts;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsId", getGoodsId())
            .append("amounts", getAmounts())
            .append("price", getPrice())
            .append("billId", getBillId())
            .append("state", getState())
            .toString();
    }
}
